package com.victualler.core.config.permission.entity;

import com.victualler.core.base.dao.BaseDao;
import com.victualler.core.common.annotation.InitEditColumn;
import com.victualler.core.common.annotation.ListShowColumn;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author: Guoshichang
 * @since : Create in 12:41 2018-07-01
 * @Discription: 权限表
 */
@Entity
@Table(name="common_permission")
public class PermissionInfoDao extends BaseDao implements Serializable{
    //权限名
    @ListShowColumn(title = "权限名称",sort = 1)
    @InitEditColumn(title = "权限名称",sort = 1)
    private String  name ;
    //权限对应的url
    @ListShowColumn(title = "权限认证URL",sort = 2)
    @InitEditColumn(title = "权限认证URL",sort = 2)
    private String  url ;


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
